//
// Created by Martin on 2021/9/30.
//

#ifndef DESIGNPATTERN_CPP_COMMAND_H
#define DESIGNPATTERN_CPP_COMMAND_H

#include "Barbecuer.h"
#include <string>

class Command {
public:
    virtual ~Command() = default;
    virtual void executeCommand() = 0;
    virtual std::string getFoodName() = 0;

protected:
    Barbecuer *receiver = nullptr;
};


#endif //DESIGNPATTERN_CPP_COMMAND_H
